package com.zhangxin.threadcoreknowledge;

/**
 * 继承Thread
 */
public class ThreadStyle extends Thread{

    @Override
    public void run() {
        System.out.println("通过Thread的方式实现线程");
    }

    public static void main(String[] args) {
        new ThreadStyle().start();
    }
}
